namespace DesignPattern.Behavioral.ChainOfResponsibility
{
    public class ConsoleLogger : AbstractLogger
    {
        public ConsoleLogger(int level)
        {
            this.level = level;
        }

        protected override void Write(string message)
        {
            System.Console.WriteLine($"Console logger: {message}");
        }
    }
}